package com.zhou.core.os.v3_oshi.entity;

/**
 * Created by zhouyongjun on 2020/7/10
 */
public class OSHICpu extends AbstractOSHIEntity{
    int threadNum;//线程数量
    double usedPer;//百分比

    @Override
    public OSHITypeEnum oshiTypeEnum() {
        return OSHITypeEnum.CPU;
    }

    public int getThreadNum() {
        return threadNum;
    }

    public void setThreadNum(int threadNum) {
        this.threadNum = threadNum;
    }

    public double getUsedPer() {
        return usedPer;
    }

    public void setUsedPer(double usedPer) {
        this.usedPer = usedPer;
    }
}
